#!/usr/bin/python
# -*-coding:UTF-8 -*-

# ========================
# @Time  : 2021/1/21
# @Author: Sunny
# ========================

#PEP8编码规范

"""
对齐缩进
悬挂缩进
层级缩进
"""


# 层级缩进，2个tab键，在函数的下一层级
# def long_function_name(
#         var_one, var_two, var_three, var_four):
#     pass
#
#
# var_one = 1
# var_two = 2
# var_three = 3
# var_four = 4
#
# # 对齐缩进
# foo = long_function_name(var_one, var_two,
#                          var_three, var_four)
#
# # 悬挂缩进
# foo2 = long_function_name(
#     var_one, var_two,
#     var_three, var_four)
#
#
# def func(name,
#          age,
#          gender):
#     print(name, age, gender)
#
#
# def func2(
#         name, age, gender):
#     print(name, age, gender)
#
#
# func2(
#   name=11,
#   age=22,
#   gender=33)
#
#
# 2、代码行最大长度
#
# 当代码长度超过了最大行的限制，可以自己通过\进行隐式换行
#
# with open('readme.txt', 'r') as f1, \
#         open('readme02.txt', 'w') as f2, \
#         open('readme03.txt', 'w') as f3, \
#         open('readme04.txt', 'w') as f4:
#     pass
#
#
# # 3、关于代码的空行
#
# def func001():
#     pass
# def func002():
#     pass
